<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>公有云AP - 帐号列表 - MoDB Demo</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta http-equiv="Content-Language" content="UTF-8" />
</head>
<body>
	<table border="1">
		<thead>
			<tr>
				<th width="5%">企业Moid</th>
				<th width="5%">是否公有云</th>
				<th width="5%">Moid</th>
				<th width="5%">邮箱</th>
				<th width="5%">e164</th>
				<th width="5%">jid</th>
				<th width="5%">姓名</th>
				<th width="2%">性别</th>
				<th width="5%">座位</th>
				<th width="5%">分机号</th>
				<th width="5%">手机号</th>
				<th width="5%">职位</th>
				<th width="10%">一句话简介</th>
				<th width="5%">创建时间</th>
			</tr>
		</thead>
		<c:forEach items="${accounts}" var="t">
			<tr>
				<td>${t.companyMoid}</td>
				<td><c:choose>
						<c:when test="${t.publicCompanyAccount == true}">是</c:when>
						<c:otherwise>否</c:otherwise>
					</c:choose></td>
				<td>${t.moid}</td>
				<td>${t.email}</td>
				<td>${t.e164}</td>
				<td>${t.jid}</td>
				<td>${t.realName}</td>
				<td>${t.sex}</td>
				<td>${t.seat}</td>
				<td>${t.extNum}</td>
				<td>${t.mobile}</td>
				<td>${t.position}</td>
				<td>${t.brief}</td>
				<td>${t.createdAt}</td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>
